import request from "@/assets/request";
import { Danmaku, PageParams } from "@/types/danmaku";
import { PageReq, PageResp } from "@/types/page";
import { Video } from "@/types/video";

export default {
  page: (params: PageParams) => {
    return request.get<PageResp<Danmaku>>("/bullet/page", params);
  },
  remove: (ids: Danmaku["id"][]) => {
    return request.post<string>("/bullet/delete", ids);
  }
};
